<?php


use Faker\Generator as Faker;

$factory->define(App\Models\Post::class, function (Faker $faker) {
    return [
        'title' => trim($this->faker->sentence, '.'),
            'content' => $this->faker->paragraphs(3, true),
    ];
});